class Solution {

public:

    vector<int> twoSum(vector<int>& nums, int target) {


        vector<int> abc;

        for(int a=0;a<nums.size()-1;a++){

            for(int b=a+1;b<nums.size();b++){

                if(nums[a]+nums[b]==target){

                    abc.push_back(a);

                    abc.push_back(b);

                    break;

                }

            }

        }

        return abc;

    }

};
